<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {load href="../../static/zui/css/zui.min.css"}
    {load href="../../static/js/jquery.js"}
    {load href="../../static/zui/lib/jquery/jquery.js"}
    {load href="../../static/zui/js/zui.min.js"}
    <style>
        .icon-check{color:green;}
        .icon-times{color:red;}
    </style>
</head>
<body>
123<br/>
test<br/>
<table class="table">
    <tr>
        <th>#</th>
        <th>用户名</th>
        <th>备注</th>
        <th>是否属于组别一</th>
    </tr>
    {foreach name="user" item="u"}
    <tr>
        <td>{$u.id}</td>
        <td>{$u.name}</td>
        <td>{$u.remark}</td>
        <td><?php if($u['group_1'] == 1){echo '<i class="icon icon-check"></i>';}else{echo '<i class="icon icon-times"></i>';} ?></td>
    </tr>
    {/foreach}
</table>

</body>
</html>